﻿using System;
using Mbs.ComponentModel.Container.Context;

namespace Mbs.ComponentModel.Container.Fluent
{
    public interface IServiceExpression : IExpression
    {
        IImplementationExpression To(Type type);
        IImplementationExpression To<TImplementation>();

        IFactoryExpression Factory(Func<ICreateContext, object> factory);
    }
}
